package com.example.xianzhi.entity;

import java.util.List;

public class TbType {
    private int type_id; //分类id
    private String type_name; //分类名称
    private List<TbGoods> goodslist; //商品集合

    @Override
    public String toString() {
        return "TbType{" +
                "type_id=" + type_id +
                ", type_name='" + type_name + '\'' +
                ", goodslist=" + goodslist +
                '}';
    }

    public int getType_id() {
        return type_id;
    }

    public void setType_id(int type_id) {
        this.type_id = type_id;
    }

    public String getType_name() {
        return type_name;
    }

    public void setType_name(String type_name) {
        this.type_name = type_name;
    }

    public List<TbGoods> getGoodslist() {
        return goodslist;
    }

    public void setGoodslist(List<TbGoods> goodslist) {
        this.goodslist = goodslist;
    }
}
